<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width,initial-scale=1, maximum-scale=1.0, user-scalable=no" />
		<title>宣臻新年祝福</title>
		<script>
		var _hmt = _hmt || [];
		(function() {
		  var hm = document.createElement("script");
		  hm.src = "https://hm.baidu.com/hm.js?fa2b1f8a111a9aac1fe1b52a24543566";
		  var s = document.getElementsByTagName("script")[0]; 
		  s.parentNode.insertBefore(hm, s);
		})();
		</script>

		<link rel="stylesheet" href="<%=path %>/newyear/css/public.css" />
		<link rel="stylesheet" href="<%=path %>/newyear/css/style.css" />
		<link rel="stylesheet" href="<%=path %>/newyear/css/animate.css" />
	</head>
	<body>
		<span id="musicControl">
		    <a id="mc_play" class="stop" onclick="play_music();">
		        <audio id="musicfx" loop="loop" autoplay="true">
		            <source src="<%=path %>/newyear/audio/song.mp3" type="audio/mpeg">
		        </audio>
		    </a>
		</span>	
		<div class="loading">
			<div class="loading-logo">
				<img src="<%=path %>/newyear/img/logo.png" alt="" />
			</div>
			<div class="loading-bd">
				<div id="container">
				    <div class="stick"></div>
				    <div class="stick"></div>
				    <div class="stick"></div>
				    <div class="stick"></div>
				    <div class="stick"></div>
				    <div class="stick"></div>				  
				    <h1>Loading...</h1>  
				</div>
			</div>
		</div>		
		<div class="fs fs-bg1">
			<div class="fs-clock">
				<div class="contain-clock">
				    <div class="face-1">
				        <div class="hour"></div>
				        <div class="minute"></div>
				        <div class="second"></div>
				        <div class="center"></div>
				    </div> 			
				    <div class="face-2">
					    <div class="line"></div>
					    <div class="line line-2"></div>
					    <div class="line line-3"></div>
					    <div class="line line-4"></div>   
					    <div class="line line-5"></div>
					    <div class="line line-6"></div>
				    </div>			
				    <div class="arm"></div>
				    <div class="arm arm-2"></div>			
				    <div class="bell"></div>
				    <div class="bell bell-2"></div>			
				    <div class="hammer"></div>			
				    <div class="handle"></div>
				</div>
			</div>
			<div class="fs-bed">
				<img src="<%=path %>/newyear/img/bed1.png" alt="" />
			</div>		
			<div class="fs-word">
				<img src="<%=path %>/newyear/img/fs-word.png" alt="" />
			</div>
			<div class="fs-man">
				<img src="<%=path %>/newyear/img/run-man.png" alt="" />
			</div>
			<div class="fs-yan">
				<img src="<%=path %>/newyear/img/run-yan.png" alt="" />
			</div>
			<div class="fs-line">
				<img src="<%=path %>/newyear/img/run-line.png" alt="" />
			</div>
			<div class="fs-black">				
			</div>
		</div>
		<div class="sc">
			<div class="sc-one"></div>
			<div class="sc-two"></div>
			<div class="sc-time"><img src="<%=path %>/newyear/img/sc-time.png" alt="" /></div>
			<div class="sc-black">				
			</div>
		</div>
		<div class="tr">
			<div class="tr-yun"><img src="<%=path %>/newyear/img/p3-yun.png" alt="" /><img src="<%=path %>/newyear/img/p3-yun.png" alt="" /></div>
			<div class="tr-bird"><img src="<%=path %>/newyear/img/tr-bird1.png" alt="" /></div>
			<div class="tr-c2"><img src="<%=path %>/newyear/img/p3-c2.png" alt="" /></div>
			<div class="tr-c1"><img src="<%=path %>/newyear/img/p3-c1.png" alt="" /><img src="<%=path %>/newyear/img/p3-c1.png" alt="" /><img src="<%=path %>/newyear/img/p3-c1.png" alt="" /></div>
			<div class="tr-line"><img src="<%=path %>/newyear/img/pc-line.png" alt="" /></div>
			<div class="tr-rw">
				<div class="tr-yy"><img src="<%=path %>/newyear/img/p3-yy.png" alt="" /></div>
				<div class="tr-lt1"><img src="<%=path %>/newyear/img/p3-lunt.png" alt="" /></div>
				<div class="tr-lt2"><img src="<%=path %>/newyear/img/p3-lunt.png" alt="" /></div>
				<div class="tr-car"><img src="<%=path %>/newyear/img/p3-car.png" alt="" /></div>
				<div class="tr-jz"><img src="<%=path %>/newyear/img/p3-jiaz.png" alt="" /></div>
				<div class="tr-ren"><img src="<%=path %>/newyear/img/p3-ren1.png" alt="" /></div>
				<div class="tr-hand"><img src="<%=path %>/newyear/img/p3-hand1.png" alt="" /></div>
				<div class="tr-dian1"><img src="<%=path %>/newyear/img/p3-dian.png" alt="" /></div>
				<div class="tr-dian2"><img src="<%=path %>/newyear/img/p3-dian.png" alt="" /></div>
				<div class="tr-ling">
					<img src="<%=path %>/newyear/img/tr-y1.png" alt="" />
					<img src="<%=path %>/newyear/img/tr-y2.png" alt="" />
					<img src="<%=path %>/newyear/img/tr-y3.png" alt="" />
					<img src="<%=path %>/newyear/img/tr-y4.png" alt="" />
				</div>				
				<div class="tr-yan"><img src="<%=path %>/newyear/img/tr-yan.png" alt="" /></div>
			</div>
			<div class="tr-black">				
			</div>
		</div>
		<div class="for">
			<div class="for-hand">
				<div class="for-con">
					<div class="box">
						<span><img src="<%=path %>/newyear/img/for1.png" alt="" /></span>
						<span><img src="<%=path %>/newyear/img/for2.png" alt="" /></span>
						<span><img src="<%=path %>/newyear/img/for3.png" alt="" /></span>
						<span><img src="<%=path %>/newyear/img/for4.png" alt="" /></span>
						<span><img src="<%=path %>/newyear/img/for5.png" alt="" /></span>
						<span><img src="<%=path %>/newyear/img/for6.png" alt="" /></span>
						<span><img src="<%=path %>/newyear/img/for7.png" alt="" /></span>
						<span><img src="<%=path %>/newyear/img/for8.png" alt="" /></span>
						<span><img src="<%=path %>/newyear/img/for9.png" alt="" /></span>
						<span><img src="<%=path %>/newyear/img/for10.png" alt="" /></span>
						<span><img src="<%=path %>/newyear/img/for11.png" alt="" /></span>
						<span><img src="<%=path %>/newyear/img/for12.png" alt="" /></span>
						<span><img src="<%=path %>/newyear/img/for13.png" alt="" /></span>
						<span><img src="<%=path %>/newyear/img/for14.png" alt="" /></span>
						<span><img src="<%=path %>/newyear/img/for15.png" alt="" /></span>
						<span><img src="<%=path %>/newyear/img/for16.png" alt="" /></span>
					</div>					
				</div>				
			</div>
			<div class="for-black">				
			</div>
		</div>
		<div class="fv">
			<div class="room">
				<div class="fv-wall"><img src="<%=path %>/newyear/img/fv-bg.jpg" alt="" /></div>
				<div class="fv-tv">
					<img src="<%=path %>/newyear/img/fv-tv.png" alt="" />
					<div class="fv-film">
						<img src="<%=path %>/newyear/img/film1.jpg" alt="" />
					</div>
					<div class="fv-film-btn">
						<img src="<%=path %>/newyear/img/film-b.png" alt="" />
					</div>
				</div>
				<div class="fv-desk"><img src="<%=path %>/newyear/img/fv-desk.png" alt="" /></div>
				<div class="fv-fa"><img src="<%=path %>/newyear/img/fv-fa.png" alt="" /></div>
				<div class="fv-ma"><img src="<%=path %>/newyear/img/fv-ma.png" alt="" /></div>				
				<div class="fv-w1"><img src="<%=path %>/newyear/img/fv-w1.png" alt="" /></div>
				<div class="fv-w2"><img src="<%=path %>/newyear/img/fv-w2.png" alt="" /></div>			
			</div>
			<div class="fv-k"><img src="<%=path %>/newyear/img/fv-kuang.png" alt="" /></div>
			<div class="fv-door"><img src="<%=path %>/newyear/img/fv-door.jpg" alt="" /></div>	
			<div class="fv-video">
				<div class="fv-video-fc">
					<div class="fv-video-sc">
						<div class="close">
							<img src="<%=path %>/newyear/img/close.png" alt="" />
						</div>
					    <div class="fv-video-trc">
					    	<span>
					    		<img src="<%=path %>/newyear/img/film-bg.jpg" alt="" class="film"/>
					    		<div class="fv-video-fvc">
					    			<img src="<%=path %>/newyear/img/film1.jpg" alt="" />
							    	<img src="<%=path %>/newyear/img/film2.jpg" alt=""/>
							    	<img src="<%=path %>/newyear/img/film3.jpg" alt=""/>
							    	<img src="<%=path %>/newyear/img/film4.jpg" alt=""/>
							    	<img src="<%=path %>/newyear/img/film5.jpg" alt=""/>
							    	<img src="<%=path %>/newyear/img/film6.jpg" alt=""/>
							    	<img src="<%=path %>/newyear/img/film7.jpg" alt=""/>
							    	<img src="<%=path %>/newyear/img/film8.jpg" alt=""/>
							    	<img src="<%=path %>/newyear/img/film9.jpg" alt=""/>
							    	<img src="<%=path %>/newyear/img/film10.jpg" alt=""/>
							    	<img src="<%=path %>/newyear/img/film11.jpg" alt=""/>
							    	<img src="<%=path %>/newyear/img/film12.jpg" alt=""/>
							    	<img src="<%=path %>/newyear/img/film13.jpg" alt=""/>
							    	<img src="<%=path %>/newyear/img/film14.jpg" alt=""/>
							    	<img src="<%=path %>/newyear/img/film15.jpg" alt=""/>
					    		</div>
					    	</span>					    	
					    </div>
				    </div>
				</div>
			</div>
		</div>
		<div class="fv-black">				
		</div>
		<div class="fv-six">
			<div class="fv-six-pic">
				<img src="<%=path %>/newyear/img/film1.jpg" alt=""/>
			</div>
		</div>
		<div class="sx">
			<div class="sx-bd sx-bd-small">				
				<div class="sx-man sx-man-move">
					<img src="<%=path %>/newyear/img/sx-ren.png" alt="" />
				</div>
				<div class="sx-cpt">
					<img src="<%=path %>/newyear/img/sx-cpt.png" alt="" />
				</div>
				<div class="sx-word">
					<img src="<%=path %>/newyear/img/sx-word.png" alt="" />
				</div>
				<div class="sx-w1">
					<img src="<%=path %>/newyear/img/sx-w1.png" alt="" />
				</div>
				<div class="sx-w2">
					<img src="<%=path %>/newyear/img/sx-w2.png" alt="" />
				</div>
				<div class="sx-ball1">
					<img src="<%=path %>/newyear/img/sx-ball.png" alt="" />
				</div>
				<div class="sx-ball2">
					<img src="<%=path %>/newyear/img/sx-ball.png" alt="" />
				</div>
				<div class="sx-ball3">
					<img src="<%=path %>/newyear/img/sx-ball.png" alt="" />
				</div>
                <div class="sx-m1 animated zoomIn">
                	<img src="<%=path %>/newyear/img/sx-m1.png" alt="" />
                </div>
                <div class="sx-m2 animated zoomIn">
                	<img src="<%=path %>/newyear/img/sx-m2.png" alt="" />
                </div>
                <div class="sx-m3 animated zoomIn">
                	<img src="<%=path %>/newyear/img/sx-m3.png" alt="" />
                </div>
                <div class="sx-m4 animated zoomIn">
                	<img src="<%=path %>/newyear/img/sx-m4.png" alt="" />
                </div>
                <div class="sx-yw1 animated zoomIn">
                	<img src="<%=path %>/newyear/img/sx-yw1.png" alt="" />
                </div>
                <div class="sx-yw2 animated zoomIn">
                	<img src="<%=path %>/newyear/img/sx-yw2.png" alt="" />
                </div>
                <div class="sx-yw3 animated zoomIn">
                	<img src="<%=path %>/newyear/img/sx-yw3.png" alt="" />
                </div>
                <div class="sx-dian1 animated zoomIn">
                	<img src="<%=path %>/newyear/img/sx-dian.png" alt="" />
                </div>
                <div class="sx-dian2 animated zoomIn">
                	<img src="<%=path %>/newyear/img/sx-dian.png" alt="" />
                </div>
                <div class="sx-one">
                	<img src="<%=path %>/newyear/img/sx-one.png" alt="" />
                </div>
			</div>
		</div>
		<div class="sv">
			<div class="sv-w1">
				<img src="<%=path %>/newyear/img/sv-w1.png" alt="" />
			</div>
			<div class="sv-w2">
				<img src="<%=path %>/newyear/img/sv-w2.png" alt="" />
			</div>
			<div class="sv-w3">
				<img src="<%=path %>/newyear/img/sv-w3.png" alt="" />
			</div>
			<div class="sv-w4">
				<img src="<%=path %>/newyear/img/sv-w4.png" alt="" />
			</div>
			<div class="sv-w5">
				<img src="<%=path %>/newyear/img/sv-w5.png" alt="" />
			</div>
			<div class="sv-yin">
				<img src="<%=path %>/newyear/img/sv-yin.png" alt="" />
			</div>
			<div class="sv-man">
				<img src="<%=path %>/newyear/img/sv-man1.png" alt="" />
			</div>
			<div class="sv-fx">
				<img src="<%=path %>/newyear/img/sv-fx.png" alt="" />
			</div>
			<div class="sv-again">
				<img src="<%=path %>/newyear/img/sv-again.png" alt="" />
			</div>
			<div class="sv-c">
				<img src="<%=path %>/newyear/img/hand.png" alt="" />
			</div>
		</div>
		<script type="text/javascript" src="<%=path %>/newyear/js/jquery-2.2.3.min.js" ></script>
		<script type="text/javascript" src="<%=path %>/newyear/js/public.js" ></script>
	</body>
	<script src="https://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script>
    <script type="text/javascript">
		//微信jssdk config
		wx.config({
			debug : false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来，若要查看传入的参数，可以在pc端打开，参数信息会通过log打出，仅在pc端时才会打印。
			appId : '${signObj.appid}', // 必填，公众号的唯一标识
			timestamp : '${signObj.timestamp}', // 必填，生成签名的时间戳
			nonceStr : '${signObj.noncestr}', // 必填，生成签名的随机串
			signature : '${signObj.signature}',// 必填，签名，见附录1
			jsApiList : [ 'checkJsApi', //判断当前客户端版本是否支持指定JS接口
			'onMenuShareTimeline', //分享给好友
			'onMenuShareAppMessage', //分享到朋友圈
			'onMenuShareQZone', //分享到Q空间
			'onMenuShareWeibo',//分享到微博
			'onMenuShareQQ'//分享到qq
			]
		// 必填，需要使用的JS接口列表，所有JS接口列表见附录2
		});
		var title="新年不怕无味，我们的祝福正在路上";
		var description="见家长，见长辈，见朋友，见客户，送上宣臻最诚挚的春节祝福";
		var imgUrl="${basePath}/<%=path %>/newyear/img/share.jpg";
		var shareBaseUrl='${baseUrl}';
		wx.ready(function() { //ready函数用于调用API，如果你的网页在加载后就需要自定义分享和回调功能，需要在此调用分享函数。//如果是微信游戏结束后，需要点击按钮触发得到分值后分享，这里就不需要调用API了，可以在按钮上绑定事件直接调用。因此，微信游戏由于大多需要用户先触发获取分值，此处请不要填写如下所示的分享API
			wx.onMenuShareTimeline({ //分享到朋友圈的API  
						title : title, // 分享标题
						link : shareBaseUrl+'/auth2.html', // 分享链接
						imgUrl : imgUrl, // 分享图标
						success : function() {
							// 用户确认分享后执行的回调函数
						},
						cancel : function() {
							// 用户取消分享后执行的回调函数
						}
					});
			wx.onMenuShareAppMessage({//分享到朋友 
						title : title, // 分享标题
						desc : description, // 分享描述
						link : shareBaseUrl+'/auth2.html', // 分享链接
						imgUrl : imgUrl, // 分享图标
						type : 'link', // 分享类型,music、video或link，不填默认为link
						dataUrl : '', // 如果type是music或video，则要提供数据链接，默认为空
						success : function() {
							// 用户确认分享后执行的回调函数
						},
						cancel : function() {
							// 用户取消分享后执行的回调函数
						}
					});
			wx.onMenuShareQZone({//分享到qq空间
			    title: title, // 分享标题
			    desc: description, // 分享描述
			    link: shareBaseUrl+'/index.html', // 分享链接
			    imgUrl: imgUrl, // 分享图标
			    success: function () { 
			       // 用户确认分享后执行的回调函数
			    	
			    },
			    cancel: function () { 
			        // 用户取消分享后执行的回调函数
			    }
			});
			wx.onMenuShareWeibo({
			    title: title, // 分享标题
			    desc: description, // 分享描述
			    link: shareBaseUrl+'/index.html', // 分享链接
			    imgUrl: imgUrl, // 分享图标
			    success: function () { 
			       // 用户确认分享后执行的回调函数
			    	
			    },
			    cancel: function () { 
			        // 用户取消分享后执行的回调函数
			    }
			});
			wx.onMenuShareQQ({//分享到qq
			    title: title, // 分享标题
			    desc: description, // 分享描述
			    link: shareBaseUrl+'/index.html', // 分享链接
			    imgUrl: imgUrl, // 分享图标
			    success: function () { 
			       // 用户确认分享后执行的回调函数
			    	
			    },
			    cancel: function () { 
			       // 用户取消分享后执行的回调函数
			    }
			});
		});
	</script>
</html>